<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

include ("../conn/conn.php");
$conn = prepare();

while(list($name,$value)=each($_POST)){
    if ($name!="submit") {
        exectue_sql_statement($conn, "delete from Orders where orders_id=$value");
    }
}
header("location:editorder.php");
?>